import { HandlerBase } from "src/wl/handler_base";
import { WebManageConst } from "src/consts/web_manage_const";
import { PopupName } from "src/consts/popup_const";

export default class OperatorData extends HandlerBase {
    doNew(): void {
        WLCommit(WebManageConst.CommitType, "add")
        WLCommit(WebManageConst.CommitWebMShowList, {})
    }

    doReset(data: any): void {
        WLCommit(WebManageConst.CommithWebMReset, data)
    }

    doQiYong(data: any): void {
        WLDispatch(WebManageConst.DispatchWebMQiYong, data);
    }

    doDownLoad(): void {
    
    }

    doUpLoad(): void {
        WLLib.panel(PopupName.WebM_UpLoad_Panel)
    }
}